package cn.yz.fresh.dao.impl;

import cn.yz.fresh.dao.IGroupDAO;
import cn.yz.fresh.pojo.Category;
import cn.yz.fresh.pojo.Group;
import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Kim昌完 on 2017/8/31.
 */
@Repository
public class GroupDAOImpl extends SqlSessionDaoSupport implements IGroupDAO{
    @Override
    public List<Group> queryAll(Category category) {
        List<Group> GroupList = super.getSqlSession().selectList("cn.yz.fresh.pojo.Group.queryAllByGroupId",category.getCategoryId());
        return null;
    }
}
